/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.dataobject;

import java.time.LocalDate;
import java.time.LocalDateTime;

import org.xstgongyi.eduaid.bo.Gender;

/**
 * 抽象出的资助人、志愿者的基类
 * 
 * @author oldcrane<br/>
 * @created 2019-04-18
 */
public class VirtualPerson implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	protected Integer id;
	protected String name;
	protected String nickname;
	protected Boolean anonymous;
	protected String area;
	protected Gender gender;
	protected LocalDate birthday;
	protected String contactPhone;
	protected String contactWechat;
	protected String contactEmail;
	protected String contactAddress;
	protected String contactOther;
	protected String remark;
	private LocalDateTime gmtCreated;
	private LocalDateTime gmtUpdated;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Boolean getAnonymous() {
		return anonymous;
	}

	public void setAnonymous(Boolean anonymous) {
		this.anonymous = anonymous;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public Gender getGender() {
		return gender;
	}

	public void setGender(Gender gender) {
		this.gender = gender;
	}

	public LocalDate getBirthday() {
		return birthday;
	}

	public void setBirthday(LocalDate birthday) {
		this.birthday = birthday;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public String getContactWechat() {
		return contactWechat;
	}

	public void setContactWechat(String contactWechat) {
		this.contactWechat = contactWechat;
	}

	public String getContactEmail() {
		return contactEmail;
	}

	public void setContactEmail(String contactEmail) {
		this.contactEmail = contactEmail;
	}

	public String getContactAddress() {
		return contactAddress;
	}

	public void setContactAddress(String contactAddress) {
		this.contactAddress = contactAddress;
	}

	public String getContactOther() {
		return contactOther;
	}

	public void setContactOther(String contactOther) {
		this.contactOther = contactOther;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public LocalDateTime getGmtCreated() {
		return gmtCreated;
	}

	public void setGmtCreated(LocalDateTime gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	public LocalDateTime getGmtUpdated() {
		return gmtUpdated;
	}

	public void setGmtUpdated(LocalDateTime gmtUpdated) {
		this.gmtUpdated = gmtUpdated;
	}

	@Override
	public String toString() {
		return "VirtualPerson [id=" + id + ", name=" + name + ", nickname=" + nickname + ", anonymous=" + anonymous
				+ ", area=" + area + ", gender=" + gender + ", birthday=" + birthday + "]";
	}

}
